// index.js
// 获取应用实例
const app = getApp()

Page({
  data: {
    msg:'hello word',
    userList:[{name:"zhangsan",age:10},{name:"lisi",age:20},{name:"wanger",age:30}]
  },
  onLoad() {
   console.log("--------onLoad---------");
  },
  fn1(){
    console.log("--------");
    wx.getUserProfile({
      desc: '请你授权', // 声明获取用户个人信息后的用途，后续会展示在弹窗中，请谨慎填写
      success: (res) => {
        console.log(res)
      }
    })
  
  }
})
